import Vue from 'vue'
import Vuex from 'vuex'
import authStore from "./modules/authStore"
import userStore from "./modules/userStore"
import productStore from "./modules/productStore"
import addressStore from "./modules/addressStore"
import orderStore from "./modules/orderStore"
import fileStore from "./modules/fileStore"
import couponStore from "./modules/couponStore"

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        authStore,
        userStore,
        productStore,
        addressStore,
        orderStore,
        fileStore,
        couponStore
    }
})

export default store
